import _fetch from './request'
import { getLocalToken } from '@/utils/local.js'
const token = getLocalToken('token')
// 获取用户信息
function auInfo () {
  return _fetch({
    url: '/au/info',
    method: 'get',
    headers: {
      authorization: 'Bearer ' + token
    }
  })
}
export { auInfo }
